There are two cuboidal boxes as shown in the adjoining figure